package com.meitianhui.convenitenbuy.main.di;

import android.app.Activity;

import com.meitianhui.convenitenbuy.di.AppComponent;
import com.meitianhui.convenitenbuy.di.PerActivity;
import com.meitianhui.convenitenbuy.main.ui.LoginActivity;
import com.meitianhui.convenitenbuy.main.ui.MainActivity;
import com.meitianhui.convenitenbuy.main.ui.SplashActivity;

import dagger.Component;
@PerActivity
@Component(dependencies = AppComponent.class, modules = {MainModule.class})
public interface MainComponent {
    Activity getActivity();
    void inject(MainActivity activity);
    void inject(LoginActivity activity);
    void inject(SplashActivity activity);
}